import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import $User from '@/common/SDK/user/user';
import { Enum as $Enum } from '@/common/tools/enum';
import ElementPlus from 'element-plus';
import svgIcon from '@/icons/svg-icon.vue';
import '@/router/permission';
import 'element-plus/lib/theme-chalk/index.css';
import 'element-plus/lib/theme-chalk/display.css';
import Particles from 'particles.vue3';

let app = createApp(App);
app.config.globalProperties.$User = $User;
app.config.globalProperties.$Enum = $Enum;
app.component('svg-icon',svgIcon);
app.use(Particles);
app.use(ElementPlus);
app.use(store);
app.use(router);
app.mount('#app');
